package com.codeoss.module.ir.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.codeoss.framework.service.impl.BaseService;
import com.codeoss.module.ir.dao.IrPageMapper;
import com.codeoss.module.ir.model.IrPage;
import com.codeoss.module.ir.service.IIrPageService;

@Service
public class IrPageService extends BaseService<IrPageMapper, IrPage> implements IIrPageService {

	@Override
	public IrPage getIrPageByPageCode(String pageCode) {
		// TODO Auto-generated method stub
		QueryWrapper<IrPage> queryWrapper=new QueryWrapper<IrPage>();
		queryWrapper.eq("page_code", pageCode);
		return getOne(queryWrapper);
	}
}